﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace URLOpenNotepad
{
    class Program
    {
        static void Main(string[] args)
        {
            var path = "";
            foreach (var arg in args)
            {
                //Console.WriteLine(arg);
                path += " " + arg.Replace("lxyopennotepad:", "");
            }

            path = Uri.UnescapeDataString(path); //url 인코딩

            //Console.WriteLine(path);

            //System.Diagnostics.Process.Start("notepad.exe", "\\\\222.161.3.61\\논문작업용\\1. 본문 + 표지\\2022년\\06월\\06일\\HP00553477\\표지\\2. 완성\\00확인요청 메시지.txt");
            System.Diagnostics.Process.Start("notepad.exe", path);

            //Console.ReadKey();
        }
    }
}
